<?php
/**
 * Created by PhpStorm.
 * User: legion
 * Date: 2019/1/7
 * Time: 20:25
 */

namespace app\common\model;


use think\Model;
use traits\model\SoftDelete;

class LotteryLogModel extends Model
{
    public function awards()
    {
        return $this->hasOne('AwardsModel','id','awards_id')->bind([
            'awards_name' => 'name'
        ]);
    }
}